package com.example.testgit.service;

import com.example.testgit.VO.PageResult;
import com.example.testgit.VO.ParentVO;
import com.example.testgit.VO.StudentBasicVO;
import com.example.testgit.VO.StudentVO;
import com.example.testgit.entity.StudentDO;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author: lyh
 * @create: 2023/3/15 11:10
 * Description：
 */
public interface StudentService {
    PageResult<StudentVO> search(String stuName, Integer stuId, String major, String classNum,
                                 Integer pageNum, Integer pageSize);

    StudentBasicVO basicInfor(Integer stuId);

    ParentVO parentInfor(Integer stuId);

    boolean insert(StudentDO stu);

    boolean update(StudentDO stu);

    boolean delete(Integer stuId);

    void excleIn(MultipartFile file);
}
